import { LogLevel } from "./LogLevel"

export class LoggerSchemes {
    static readonly trace = {
        'displayName': 'TRACE',
        'logFunction': console.verbose,
        'color': 'lightgrey',
        'level': LogLevel.Debug
    }
    static readonly debug = {
        'displayName': 'DEBUG',
        'logFunction': console.verbose,
        'color': 'lightgrey',
        'level': LogLevel.Debug
    }
    static readonly log = {
        'displayName': ' LOG ',
        'logFunction': console.log,
        'color': 'black',
        'level': LogLevel.Log
    }
    static readonly info = {
        'displayName': 'INFO',
        'logFunction': console.info,
        'color': 'green',
        'level': LogLevel.Info
    }
    static readonly warn = {
        'displayName': 'WARN',
        'logFunction': console.warn,
        'color': 'yellow',
        'level': LogLevel.Warn
    }
    static readonly error = {
        'displayName': 'ERROR',
        'logFunction': console.error,
        'color': 'red',
        'level': LogLevel.Error
    }
}
